<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<%@ page contentType="text/html;charset=UTF-8"%>
<%@ page pageEncoding="UTF-8"%>
<spring:message code="app.searchPlaceholder" var="searchPlaceholder"
	htmlEscape="true" />
<div class="row-fluid">
	<div class="span3 census-sidebar">
		<div class="well sidebar-nav">
			<ul class="nav nav-list">
				<li class="nav-header">
					<spring:message code="app.admin.navHeader" htmlEscape="true"/>
				</li>
				<li>
					<a id="ask" href="/admin#asks">
						<i class="icon-lock"></i>
						<spring:message code="app.admin.asks" htmlEscape="true" />
					</a>
					<a id="congregation" href="/admin#congregations">
						<i class="icon-briefcase"></i>
						<spring:message code="app.admin.congregations" htmlEscape="true" />
					</a>
				</li>
			</ul>
		</div>
	</div>
	<div class="span9 census-container">
		<div id="content-container"></div>
	</div>
	<script type="text/javascript">
		require(['jquery','app','domReady!'],function($,app){
			$('a#ask, a#congregation').click(function(e){
				var url = $(this).attr('href');
				url = url.replace(/#/g,'/');
				app.go(url,$("#content-container"));		
			});			
		});
	</script>
</div>